<?php
namespace App\Model;

/**
 * @Author:: HuangYin
 * @DateTime: 2017-01-10 14:47
 *
 * @Description:
 */
class Operation extends BaseModel
{
    // 获取数据
    const  METHOD_GET = 1;

    // 创建数据
    const  METHOD_POST = 2;

    // 删除数据
    const  METHOD_DELETE = 3;

    // 更新数据
    const  METHOD_PATCH = 4;

    public $table = 'operation';

    public $visible = ['id', 'uid', 'url', 'ip', 'created_at'];
}